From: Jasper St. Pierre Date: Thu, 30 Aug 2012 21:01:49 +0000 (-0300) Subject: magnifier: Don't set the size of the uiGroup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6003 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=54e5ffcac1c6c659c79ebd12b256da4994f6bce3;p=gnome-shell.git magnifier: Don't set the size of the uiGroup The magnifier shouldn't mess with global properties like this. https://bugzilla.gnome.org/show_bug.cgi?id=683073 --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 91263b71d..99c1dd46c 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -1090,7 +1090,6 @@ const ZoomRegion = new Lang.Class({ // chrome, the windows, etc. this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup }); mainGroup.add_actor(this._uiGroupClone); - Main.uiGroup.set_size(global.screen_width, global.screen_height); this._background.set_size(global.screen_width, global.screen_height); // Add either the given mouseSourceActor to the ZoomRegion, or a clone of @@ -1353,7 +1352,6 @@ const ZoomRegion = new Lang.Class({ if (!this.isActive()) return; - Main.uiGroup.set_size(global.screen_width, global.screen_height); this._background.set_size(global.screen_width, global.screen_height); if (this._screenPosition == GDesktopEnums.MagnifierScreenPosition.NONE)